MuleSoft Accelerator for SAP
Use case 1a - SAP and Salesforce - Shared assets
Overview
The following use case is covered:
- Unlock DATA from SAP ECC, S/4HANA and Salesforce
This use case shows you how to unlock data out of SAP ECC, S/4HANA, or Salesforce systems for consumption or movement into other systems.
Systems involved
- SAP ECC
- SAP S/4HANA
- Salesforce Sales Cloud
Setup instructions
SAP ECC
The following BAPIs must be created in SAP ECC in order for the system APIs to retrieve data (BAPI names are configurable if they already exist):
BAPI | Description |
---|---|
BAPI_CUSTOMER_GETDETAIL2 | Gets details of individual account |
BAPI_CUSTOMER_GETLIST | Gets list of accounts and details |
BAPI_BILLINGDOC_GETDETAIL | Gets details of individual billing document |
BAPI_BILLINGDOC_GETLIST | Gets list of billing documents and details |
BAPI_MATERIAL_GET_DETAIL | Gets details of individual material |
BAPI_MATERIAL_GETLIST | Gets list of materials and details |
BAPI_SALESORDER_GETLIST | Gets list of sales orders and details |
BAPI_MATERIAL_AVAILABILITY | Gets material availability |
SAP S/4 HANA
The following APIs must be enabled on SAP S/4HANA with read and write access for the corresponding objects:
S/4HANA API | Description | REST API Resource | Business Context |
---|---|---|---|
API_BUSINESS_PARTNER | Enables operations on Business Partners | Account | Business Documentation |
API_PRODUCT_SRV | Enables operations on Product Master | Product | Business Documentation |
API_SALES_ORDER_SRV | Enables operations on Sales Orders | SalesOrder | Business Documentation |
API_BILLING_DOCUMENT_SRV | Enables operations on Billing Documents | Billing Documents | Business Documentation |
API_SALES_CONTRACT_SRV | Enables operations on Sales Contracts | Sales Contract | Business Documentation |
API_SLSPRICINGCONDITIONRECORD_SRV | Enables operations on Sales Pricing Condition Record | Sales Pricing Condition Record | Business Documentation |
API_PRODUCT_AVAILY_INFO_BASIC | Enables operations on Product Availability | Product Availability | Business Documentation |
Mule Projects
Use the README instructions in the following Mule templates to set up, deploy, and run these projects:
Accelerator SAP ECC System APIs
- Accounts System API | API Specification | Implementation Template
- Billing Documents System API | API Specification | Implementation Template
- Orders System API | API Specification | Implementation Template
- Product Availability System API | API Specification | Implementation Template
- Products System API | API Specification | Implementation Template
Accelerator SAP S/4HANA System APIs
- Accounts System API | API Specification | Implementation Template
- Pricing System API | API Specification | Implementation Template
- Billing Documents System API | API Specification | Implementation Template
- Sales Contracts System API | API Specification | Implementation Template
- Orders System API | API Specification | Implementation Template
- Product Availability System API | API Specification | Implementation Template
- Products System API | API Specification | Implementation Template
Accelerator Salesforce System APIs
- Accounts System API | API Specification | Implementation Template
- Pricing System API | API Specification | Implementation Template
- Sales Contracts System API | API Specification | Implementation Template
- Orders System API | API Specification | Implementation Template
- Product Availability System API | API Specification | Implementation Template
- Products System API | API Specification | Implementation Template